<!--
 * @Author: coman
 * @LastEditors: coman
 * @Date: 2020-06-09 18:58:05
 * @motto: No pain,No gain
 * @LastEditTime: 2020-06-09 19:02:03
--> 
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var i =1;
        while(i<=100){
            if(i%7===0){
                console.log("7的倍数数字为:"+i);
            }
            if(i%10===7&&i!=7){
                console.log("尾数为7的数字有:"+i);
            }
            i++;
        }
    </script>
</body>
</html>